package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单详情选项对象 sys_form_detail_option
 * 
 * @author ruoyi
 * @date 2025-08-31
 */
public class SysFormDetailOption extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 检查ID */
    @Excel(name = "检查ID")
    private Long inspectionId;

    /** 检查详情ID */
    @Excel(name = "检查详情ID")
    private Long examineDetailId;

    /** 扣分数值 */
    @Excel(name = "扣分数值")
    private String deduction;

    /** 分组ID */
    @Excel(name = "分组ID")
    private Integer groupId;

    /** 选项ID */
    @Excel(name = "选项ID")
    private Long optionId;

    /** 选项值 */
    @Excel(name = "选项值")
    private Integer optionValue;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setInspectionId(Long inspectionId) 
    {
        this.inspectionId = inspectionId;
    }

    public Long getInspectionId() 
    {
        return inspectionId;
    }

    public void setExamineDetailId(Long examineDetailId) 
    {
        this.examineDetailId = examineDetailId;
    }

    public Long getExamineDetailId() 
    {
        return examineDetailId;
    }

    public void setDeduction(String deduction)
    {
        this.deduction = deduction;
    }

    public String getDeduction()
    {
        return deduction;
    }

    public void setGroupId(Integer groupId)
    {
        this.groupId = groupId;
    }

    public Integer getGroupId()
    {
        return groupId;
    }

    public void setOptionId(Long optionId) 
    {
        this.optionId = optionId;
    }

    public Long getOptionId() 
    {
        return optionId;
    }

    public void setOptionValue(Integer optionValue)
    {
        this.optionValue = optionValue;
    }

    public Integer getOptionValue()
    {
        return optionValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("inspectionId", getInspectionId())
            .append("examineDetailId", getExamineDetailId())
            .append("deduction", getDeduction())
            .append("groupId", getGroupId())
            .append("optionId", getOptionId())
            .append("optionValue", getOptionValue())
            .toString();
    }
}
